/**
 * Created by aa on 2016/9/8.
 */
'use strict';
let Redux=require('redux');
let utils=require('../common/utils.js');
let cr=utils.cr;
let actions=require('../actions/viewPoint');

var reducers=Redux.combineReducers({
    //财富报告
    wealthReport:cr([],{[actions.RECEIVE_WEALTH_REPORT](state,action){
        return action.wealthReport;
    }
    }),
    //焦点透视
    pointItems:cr([],{[actions.RECEIVE_POINT_ITEMS](state,action){
        return action.pointItems;
    }
    }),
    //财富报告
    wealthClass:cr([],{[actions.RECEIVE_WEALTH_CLASS](state,action){
        return action.wealthClass;
    }
    }),
     //视频
    viewPoints:cr([],{[actions.RECEIVE_VIEWPOINTS](state,action){
    return action.viewPoints;
}
})
});

module.exports=reducers;